package com.zhaoyh.transport.tio.socket;
import org.tio.core.intf.Packet;
public class MessagePacket extends Packet {

    private static final long serialVersionUID = -172060606924066412L;
    public static final int HEADER_LENGHT = 4;//消息头的长度
    public static final String CHARSET = UniServerTransport.CHARSET;
    private byte[] body = null;

    public byte[] getBody() {
        return body;
    }
    public void setBody(byte[] body) {
        this.body = body;
    }
}